const module = {
  namespaced: true,
  state: {
    userList: [],
    loginFlag: false
  },
  mutations: {
    setuser (state, data) {
      state.userList.push(data)
    },
    setLoginFLag(state, flag) {
      state.loginFlag = flag
    }
  }
}
export default module
